import { IPSDEScriptAction } from './ipsdescript-action';
import { PSDEActionImplBase } from './psdeaction-impl-base';

export class PSDEScriptActionImpl extends PSDEActionImplBase implements IPSDEScriptAction {
  get scriptCode(): string {
    return this.M.scriptCode;
  }

  get cls(): string {
    return 'PSDEScriptActionImpl';
  }

  instanceof(cls: string): boolean {
    if (cls == 'dataentity.action.IPSDEScriptAction') return true;
    return super.instanceof(cls);
  }
}
